package com.project.common.service.impl;

import com.project.common.entity.TMenus;
import com.project.common.mapper.TMenusMapper;
import com.project.common.service.TMenusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class TMenusServiceImpl implements TMenusService {
    @Autowired
    private TMenusMapper tMenusMapper;

    @Override
    public List<TMenus> queryAllMenus() {
        return tMenusMapper.queryAllMenus();
    }
}
